use crate::hystrix::metrics::{MetricCollector, MetricsExchange};

pub struct CircuitBreaker<T> where T:MetricCollector{
    pub name:String,
    open:bool,
    force_open:bool,
    opened_or_last_tested_time: i64,
    metrics:MetricsExchange<T>,
}

